import { baseUrl } from "/config";

export const getImageUrl = (url) => {
    if (!url) return '';
    if (url.startsWith('http')) return url;
    return baseUrl + url;
}